[qemu] Add missing vga_bios_init call.
authorchris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com>
Thu, 27 Jul 2006 10:12:04 +0000 (11:12 +0100)
committerchris@kneesaa.uk.xensource.com <chris@kneesaa.uk.xensource.com>
Thu, 27 Jul 2006 10:12:04 +0000 (11:12 +0100)
From: Zhang, Xiantao <xiantao.zhang@intel.com>
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
tools/ioemu/hw/vga.c
tools/ioemu/patches/qemu-init-vgabios

index 5dcea3b5218c372927336a5c97c7f09b3665ac4a..287a158fd14356aa75defe19745464c78c12a005 100644 (file)
@@ -1953,6 +1953,8 @@ void vga_common_init(VGAState *s, DisplayState *ds, uint8_t *vga_ram_base,
                          vga_screen_dump, s);
     /* XXX: currently needed for display */
     vga_state = s;
+
+    vga_bios_init(s);
 }
 
 
index f9c3470f1fd15592c96e450d0cd7981d068e363c..f1728979eb8ad1369b8f7cc7e5d652283e1e8ab6 100644 (file)
@@ -1,7 +1,7 @@
 Index: ioemu/hw/vga.c
 ===================================================================
---- ioemu.orig/hw/vga.c        2006-07-26 15:16:41.955609165 +0100
-+++ ioemu/hw/vga.c     2006-07-26 15:17:16.910802283 +0100
+--- ioemu.orig/hw/vga.c        2006-07-27 11:10:44.847738090 +0100
++++ ioemu/hw/vga.c     2006-07-27 11:11:02.008839258 +0100
 @@ -1669,6 +1669,136 @@
      }
  }
@@ -139,3 +139,12 @@ Index: ioemu/hw/vga.c
  void vga_common_init(VGAState *s, DisplayState *ds, uint8_t *vga_ram_base, 
                       unsigned long vga_ram_offset, int vga_ram_size)
  {
+@@ -1710,6 +1840,8 @@
+                          vga_screen_dump, s);
+     /* XXX: currently needed for display */
+     vga_state = s;
++
++    vga_bios_init(s);
+ }